package cn.com.taurus.biz;

import cn.com.taurus.bean.FundHoldBean;
import cn.com.taurus.bean.MyPurseWebBean;
import cn.com.taurus.entity.PowerManager;
import cn.com.taurus.impl.MyPurseWebBeanImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhy
 * @createTime 2021-7-5 20:17:35
 * @remark Biz层
 * @version 1.0
 */
@Service
public class MyPurseWebBeanBiz {
    @Autowired
    MyPurseWebBeanImpl myPurseWebBeanImpl;

    public MyPurseWebBean selectMyPurseWebData(String cAccount){
        return myPurseWebBeanImpl.selectMyPurseWebData(cAccount);
    }

    public List<FundHoldBean> selectMyFundHoldByCaId(Integer caId){
        return myPurseWebBeanImpl.selectMyFundHoldByCaId(caId);
    }

    public int updateLuck(MyPurseWebBean cid) {
        return myPurseWebBeanImpl.updateLuck(cid);
    }
}
